import { getAction, deleteAction, putAction, postAction, postParamsAction, httpAction } from '@/api/manage'
import Vue from 'vue'
import {UI_CACHE_DB_DICT_DATA } from "@/store/mutation-types"


// 部门管理
const queryRegionTreeList = (params)=>getAction("/zcgl/region/queryTreeList",params);
const queryRegionIdTree = (params)=>getAction("/zcgl/region/queryIdTree",params);
const queryRegionParentName   = (params)=>getAction("/zcgl/region/queryParentName",params);
const searchRegionByKeywords   = (params)=>getAction("/zcgl/region/searchBy",params);
const deleteByRegionId   = (params)=>deleteAction("/zcgl/region/delete",params);

export {
  queryRegionTreeList,
  queryRegionIdTree,
  queryRegionParentName,
  searchRegionByKeywords,
  deleteByRegionId,
}



